package com.gooboot.kadmin.admin.config;

import com.gooboot.kadmin.base.config.BaseSwagger2;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.spring.web.plugins.Docket;

@Configuration
public class Swagger2 extends BaseSwagger2 {

    @Bean
    @Override
    public Docket createRestApi() {
        return super.createRestApi();
    }

    @Override
    public String getDocTitle() {
        return "Admin模块接口文档";
    }
}
